package com.yamaikeji.system.domain.plan;

import com.yamaikeji.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 计划类型对象 p_plan_type
 * 
 * @author yamaikeji
 * @date 2024-12-07
 */
public class PlanType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 计划类型编号 */
    private String planTypeNo;

    /** 用户编号 */
    private String userNo;

    /** 计划类型名称 */
    private String planTypeName;

    /** 图标类型 1symbol 2图片 */
    private String imageType;

    /** 图标 */
    private String image;

    /** 颜色 */
    private String color;

    /** 排序 */
    private Integer sort;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlanTypeNo() {
        return planTypeNo;
    }

    public void setPlanTypeNo(String planTypeNo) {
        this.planTypeNo = planTypeNo;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getPlanTypeName() {
        return planTypeName;
    }

    public void setPlanTypeName(String planTypeName) {
        this.planTypeName = planTypeName;
    }

    public String getImageType() {
        return imageType;
    }

    public void setImageType(String imageType) {
        this.imageType = imageType;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("planTypeNo", getPlanTypeNo())
            .append("userNo", getUserNo())
            .append("planTypeName", getPlanTypeName())
            .append("imageType", getImageType())
            .append("image", getImage())
            .append("color", getColor())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
